home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Hardware Hints / BoardId Registration / card_11869.txt < prev    next >
Encoding:
Text File  |  1989-04-24  |  3.1 KB  |  92 lines

  1. -- card: 11869 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2566
  5. -- name: Help-why config rom
  6.  
  7.  
  8. -- part 11 (button)
  9. -- low flags: 00
  10. -- high flags: A000
  11. -- rect: left=160 top=295 right=340 bottom=217
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1012 / 1012
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Go back
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   pop card
  23. end mouseUp
  24.  
  25.  
  26.  
  27. -- part 12 (field)
  28. -- low flags: 01
  29. -- high flags: 0004
  30. -- rect: left=15 top=12 right=290 bottom=499
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 3
  35. -- text size: 10
  36. -- style flags: 0
  37. -- line height: 13
  38. -- part name: 
  39.  
  40.  
  41. -- part 16 (button)
  42. -- low flags: 00
  43. -- high flags: A000
  44. -- rect: left=277 top=295 right=340 bottom=334
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 32650 / 32650
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: More...
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   go next card
  56.   -- how to hilite if user presses arrow key?
  57. end mouseUp
  58.  
  59.  
  60.  
  61. -- part 17 (button)
  62. -- low flags: 00
  63. -- high flags: A000
  64. -- rect: left=218 top=295 right=340 bottom=275
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 1016 / 1016
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Review
  73. ----- HyperTalk script -----
  74. on mouseUp
  75.   go previous card
  76.   -- how to hilite if user presses arrow key?
  77. end mouseUp
  78.  
  79.  
  80.  
  81. -- part contents for card part 12
  82. ----- text -----
  83.  
  84. Why is it desireable to have a configuration ROM and use the Slot Manager?
  85.  
  86. The main reasons are to have certain startup services performed for you, as well as to allow higher level software (such as applications) to be able to locate and use cards, without having to hardcode for each board's hardware architecture (location and meaning of magic registers, memory locations etc.), or know explicitly where which slot they are in.  That way, applications don't have to be revised for each new version of a vendor's board, or even compatible boards made by competitors (which should increase the installed base for the application).  This saves wear and tear on customers.  Suppose a customer owns an application and a card, and happens to buy another board (from the same or even a different vendor) that is even slightly different, hardware wise (by this I mean the address or meaning of some register or memory location has changed).  The customer has to mix and match applications to boards.  This is not very 
  87. Macintosh-like, and the board manufacturer is sure to be savaged by the customers and the press.
  88.  
  89. In short, the combination of the Slot Manager and declaration ROM exists to identify your expansion card and allow the computer and higher level applications and drivers to communicate with it. It also provides a handy mechanism to store and retrieve handy information on the board. 
  90.  
  91. The way this is done is through one or more sResources (slot resources).
  92.